package cn.tramy.pinxian.wind.configuration

import cn.tramy.pinxian.wind.domain.repository.WindRepositoryImpl
import org.springframework.boot.autoconfigure.domain.EntityScan
import org.springframework.context.annotation.ComponentScan
import org.springframework.context.annotation.Import
import org.springframework.data.jpa.repository.config.EnableJpaRepositories


@EntityScan(basePackages = ["cn.tramy.pinxian.wind"])
@ComponentScan(basePackages = ["cn.tramy.pinxian.wind"])
@EnableJpaRepositories(basePackages = ["cn.tramy.pinxian.wind"], repositoryBaseClass = WindRepositoryImpl::class)
@Import(WindAutoConfiguration::class, WindBeanPostProcessConfiguration::class)
class WindConfiguration